﻿<%@ Page Language="C#" AutoEventWireup="true" CodeFile="SystemConfigManage.aspx.cs" Inherits="Basic_Background_SystemConfigManage" %>
<script type="text/javascript">
window.addEvent('domready',function(){
    new FormCheck('systemConfigManage',{display:{tipsPosition:'left'},submit:false,onValidateSuccess:function(){
        MUI.showModalMessage('正在修改系统基本配置');
        new Request.JSON({url:'SystemConfigManage.aspx?Action=changeSystemConfig',noCache:true,onSuccess:function(result){
            MUI.hideModalMessage();
            if(result.error)
                MUI.appendStatusMessage({'text':result.msg});
            else
                MUI.appendStatusMessage({'text':result.msg});
		},onFailure:function(error){
			MUI.appendStatusMessage({'text':'AJAX提交表单的过程中发生未知错误。'});
			MUI.hideModalMessage();
	    }}).post($('systemConfigManage'));
	    
    }});
});
</script>
<form id="systemConfigManage">
<table class="tableFixed" border="0" cellpadding="0" cellspacing="0" width="100%">
    <tr class="tableContent1">
        <td class="tableLeft1">系统名称：</td>
        <td class="tableLeft2"><input class="input" name="hashTableValue" type="text" value="<%=systemConfig["系统名称"] %>" /></td>
    </tr>
    <tr class="tableContent2">
        <td class="tableLeft1">系统URL：</td>
        <td class="tableLeft2"><input class="input" name="hashTableValue" type="text" value="<%=systemConfig["系统URL"] %>" /></td>
    </tr>
    <tr class="tableContent1">
        <td class="tableLeft1">SMTP服务器地址：</td>
        <td class="tableLeft2"><input class="input" name="hashTableValue" type="text" value="<%=systemConfig["SMTP服务器地址"] %>" /></td>
    </tr>
    <tr class="tableContent2">
        <td class="tableLeft1">SMTP邮箱用户名：</td>
        <td class="tableLeft2"><input class="input" name="hashTableValue" type="text" value="<%=systemConfig["SMTP邮箱用户名"] %>" /></td>
    </tr>
    <tr class="tableContent1">
        <td class="tableLeft1">SMTP邮箱密码：</td>
        <td class="tableLeft2"><input class="input" name="hashTableValue" type="text" value="<%=systemConfig["SMTP邮箱密码"] %>" /></td>
    </tr>
    <tr class="tableContent2">
        <td class="tableLeft1"></td>
        <td class="tableLeft2"><input class="submit button validate['submit']" type="button" value="提交修改" /></td>
    </tr>
</table>
</form>